import { defineConfig } from 'vite'
import vue from '@vitejs/plugin-vue'
import fs from 'fs'

// https://vitejs.dev/config/
export default defineConfig({
  plugins: [vue()],
  server:{
    https:{
        key: fs.readFileSync(`${__dirname}/CA/server.key`),
        cert: fs.readFileSync(`${__dirname}/CA/server.cert`)
    },
    host:'0.0.0.0'
  }
})
